package com.sykj.manage.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.manage.dao.BisShopUserDao;
import com.sykj.manage.service.BisShopUserService;
import com.sykj.manage.model.BisShopUser;

@Service
public class BisShopUserServiceImpl implements BisShopUserService{
	/**
	 * 调用店家信息持久层接口类
	 */
	@Autowired
	BisShopUserDao bisshopuserdao;
	
	/**
	 * 实现持久层接口类查询全部方法
	 */
	@Override
	public List<BisShopUser> getAllBisShopUser(BisShopUser bisShopUser) {
		// TODO Auto-generated method stub
		return bisshopuserdao.getAllBisShopUser(bisShopUser);
	}
	
	/**
	 * 实现持久层接口类删除的方法
	 */
	@Override
	public int deleBisShop(String shop_user_id) {
		// TODO Auto-generated method stub
		return bisshopuserdao.deleBisShop(shop_user_id);
	}

	@Override
	public int insertBisShopUser(BisShopUser bisShopUser) {
		// TODO Auto-generated method stub
		return bisshopuserdao.insertBisShopUser(bisShopUser);
	}

	@Override
	public BisShopUser updateAll(String shop_user_id) {
		// TODO Auto-generated method stub
		return bisshopuserdao.updateAll(shop_user_id);
	}

	@Override
	public int updateBisShopUser(BisShopUser bisShopUser) {
		// TODO Auto-generated method stub
		return bisshopuserdao.updateBisShopUser(bisShopUser);
	}

	@Override
	public int updatePassword(BisShopUser bisShopUser) {
		// TODO Auto-generated method stub
		return bisshopuserdao.updatePassword(bisShopUser);
	}

}
